﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="member_manage.aspx.cs" Inherits="web.manage.member_manage" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="css/css.css" rel="stylesheet" type="text/css" />
<link href="css/control.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table width="1500">
	<tr>
	<th align="left">经销商编码</th>
	<th align="left">用户名</th>
	<th align="left">密码</th>
	<th align="left">email</th>
	<th align="left">身份证号</th>
	<th align="left">邮政编码</th>
	<th align="left">公司地址</th>
	<th align="left">工厂地址</th>
	<th align="left">电话</th>
	<th align="left">手机号</th>
	<th align="left">真实姓名</th>
	<th align="left">职务</th>
	<th align="left">注册时间</th>
	<td align="left">操作</td>
	</tr>
	<asp:Repeater ID="rptList" runat="server" onitemcommand="rptList_ItemCommand">
	<ItemTemplate>
	<tr>
	<td align="left"><%#Eval("userCode")%></td>
	<td align="left"><%#Eval("userName")%></td>
	<td align="left"><%#Eval("password")%></td>
	<td align="left"><%#Eval("email")%></td>
	<td align="left"><%#Eval("identityCard")%></td>
	<td align="left"><%#Eval("postCode")%></td>
	<td align="left"><%#Eval("addressCorp")%></td>
	<td align="left"><%#Eval("addressFactory")%></td>
	<td align="left"><%#Eval("telephone")%></td>
	<td align="left"><%#Eval("mobile")%></td>
	<td align="left"><%#Eval("trueName")%></td>
	<td align="left"><%#Eval("duty")%></td> 
	<td align="left"><%#Eval("regDate")%></td>
	<td align="left">
	&nbsp;<asp:LinkButton ID="lbDelete" CommandName="deleteUser" CommandArgument='<%#Eval("userId")%>' runat="server" OnClientClick="return confirm('确定要删除此条信息吗?操作将不可恢复')" Text="删除" /></td>
	</tr>
	</ItemTemplate>
	</asp:Repeater>
	<tr><td colspan="18">
		<webdiyer:AspNetPager ID="anp" runat="server"  onpagechanged="anp_PageChanged" 
		FirstPageText="首页" LastPageText="末页" NextPageText="下一页" PrevPageText="上一页">
		</webdiyer:AspNetPager>
		</td>
	</tr>
</table>
    	<script language="JavaScript">
        <!--
    	    var TbRow = document.getElementsByTagName("table");
    	    if (TbRow != null) {
    	        for (var j = 0; j < TbRow.length; j++) {
    	            var single = TbRow[j];
    	            for (var i = 0; i < single.rows.length; i++) {
    	                if (single.rows[i].rowIndex % 2 == 1) {
    	                    single.rows[i].style.backgroundColor = "";
    	                }
    	                else {
    	                    single.rows[i].style.backgroundColor = "#f7f7f7";
    	                }
    	            }
    	        }
    	    }
        //-->
        </script>
    </div>
    </form>
</body>
</html>
